package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.DiscountHouseBookingorder;
import org.apache.ibatis.annotations.Param;

/**
 * fo_discount_house_bookingorderMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface DiscountHouseBookingorderMapper 
{
    /**
     * 查询fo_discount_house_bookingorder
     * 
     * @param id fo_discount_house_bookingorder主键
     * @return fo_discount_house_bookingorder
     */
    public DiscountHouseBookingorder selectDiscountHouseBookingorderById(Long id);

    /**
     * 查询fo_discount_house_bookingorder列表
     * 
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @return fo_discount_house_bookingorder集合
     */
    public List<DiscountHouseBookingorder> selectDiscountHouseBookingorderList(DiscountHouseBookingorder discountHouseBookingorder);
    public List<DiscountHouseBookingorder> selectDiscountHouseBookingorderList1(DiscountHouseBookingorder discountHouseBookingorder);

    /**
     * 可以业务主键查询一条fo_discount_house_bookingorder
     *
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @return fo_discount_house_bookingorder集合
     */
    public DiscountHouseBookingorder selectOneDiscountHouseBookingorder(DiscountHouseBookingorder discountHouseBookingorder);

    /**
     * 新增fo_discount_house_bookingorder
     * 
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @return 结果
     */
    public int insertDiscountHouseBookingorder(DiscountHouseBookingorder discountHouseBookingorder);

    /**
     * 修改fo_discount_house_bookingorder
     * 
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @return 结果
     */
    public int updateDiscountHouseBookingorder(DiscountHouseBookingorder discountHouseBookingorder);

    /**
     * 条件修改fo_discount_house_bookingorder
     *
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @param discountHouseBookingorder fo_discount_house_bookingorder条件
     * @return 结果
     */
    public int updateDiscountHouseBookingorderCondition(@Param("discountHouseBookingorder") DiscountHouseBookingorder discountHouseBookingorder, @Param("discountHouseBookingorderCondition") DiscountHouseBookingorder discountHouseBookingorderCondition);

    /**
     * 删除fo_discount_house_bookingorder
     * 
     * @param id fo_discount_house_bookingorder主键
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderById(Long id);

    /**
     * 条件删除fo_discount_house_bookingorder
     *
     * @param discountHouseBookingorder fo_discount_house_bookingorder
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderByCondition(DiscountHouseBookingorder discountHouseBookingorder);

    /**
     * 批量删除fo_discount_house_bookingorder
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDiscountHouseBookingorderByIds(Long[] ids);
}
